package com.cyz.web.app.abstract_document;

import java.util.Map;
import java.util.function.Function;
import java.util.stream.Stream;

public interface Document {

    Void put(String key, Object value);

    Object get(String key);

    <T> Stream<T> child(String key, Function<Map<String, Object>, T> constructor);

}
